/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the Source EULA. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-shell .modal {
	background-color: rgba(204, 204, 204, 0.6);
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: 500;
}

.monaco-shell .modal:not(.flyout-dialog) .modal-dialog {
	margin: auto;
	width: 640px;
	height: 480px;
}

.modal .modal-header {
	padding: 15px;
}

.modal .modal-footer {
	padding: 15px;
}

.modal .icon.in-progress {
	width: 25px;
	height: 25px;
}

.monaco-shell .modal.flyout-dialog .modal-dialog {
	margin: auto auto auto auto;
	height: 100%;
	width: 500px;
	right: 0;
	position: absolute;
	overflow-y: hidden;
}

.monaco-shell .modal.flyout-dialog.wide .modal-dialog {
	width: 1200px;
	max-width: 95%;
	min-width: 400px;
}

.monaco-shell .modal.flyout-dialog .modal-content {
	height: 100%;
	font-size: 11px;
}

.modal .modal-title {
	font-size: 15px;
}

.modal .modal-title-icon {
	width: 20px;
	height: 20px;
	float: left;
	margin-right: 10px;
}

.monaco-shell .modal.flyout-dialog .modal-body {
	height: calc(100% - 105px);
}

/* modal body for angular component dialog */
.monaco-shell .modal.flyout-dialog .angular-modal-body {
	height: calc(100% - 90px);
}

/* Style for body and footer in modal dialog. This should be applied to dialog created with angular component. */
.monaco-shell .modal.flyout-dialog .modal-body-and-footer {
	height: 100%;
}

/* modl body content style(excluding dialogErrorMessage section) for angulr component dialog */
.angular-modal-body-content {
	overflow-x: hidden;
	overflow-y: auto;
	padding: 15px;
}

.modal.flyout-dialog .angular-form {
	height: 100%;
}

.modal.flyout-dialog .dialog-label {
	width: 100%;
	padding-bottom: 5px;
}

/* Add space in the bottom to separate each input elements */
.modal.flyout-dialog .input-divider {
	width: 100%;
	padding-bottom: 20px;
}

.modal.flyout-dialog .input {
	width: 100%;
	border: none;
	height: 25px;
	padding-left: 4px;
}

.modal.flyout-dialog .modal-body {
	overflow-y: auto;
}

.vs-dark.monaco-shell .modal.flyout-dialog .input {
	background-color: #3C3C3C;
}

.vs-dark.monaco-shell .modal.flyout-dialog input:disabled {
	background-color: #E1E1E1;
	color:  #3C3C3C;
}

.modal .select-box {
	width: 100%;
	height: 25px;
	color: #6C6C6C;
	font-size: 11px;
	border: 1px solid transparent;
}

.modal.flyout-dialog .dialogErrorMessage {
	overflow: hidden;
	padding-left: 10px;
	overflow-y: auto;
	display: flex;
}

.modal .modal-footer {
	display: flex;
}

.modal .modal-footer .left-footer {
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-start;
}

.modal .modal-footer .right-footer {
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.modal .footer-button a.monaco-button.monaco-text-button {
	width: 100px;
}

.vs .monaco-text-button:focus {
	outline-width: 1px;
}

.modal .footer-button {
	margin-right: 5px;
}

.modal .right-footer .footer-button:last-of-type {
	margin-right: none;
}

.modal.flyout-dialog .icon.error {
	float: left;
	margin-right: 10px;
	width: 20px;
	height: 20px;
}